Conversation
386ceb6 to
fda81eb
Compare
|
Hi @strawburster |
There was a problem hiding this comment.
Thanks @strawburster!
The code looks good and it works.
I agree with @EikLoe's suggestion that it would be good to add this to untyped item pages as well
Fall back to 'hasversion' if necessary
fda81eb to
2193183
Compare
|
I added the same component to the untyped item template, but I actually don't know where that component is being used, so I haven't tested it. Sorry, I still am a little new to this project. |
@strawburster the untyped item is any item that does NOT have Also, I confirm it's working well for untyped items
|
|
Merging as this is at +2. Thanks @strawburster ! |

References
Required: DSpace/DSpace#11545
Related to: DSpace/DSpace#9901
Provided with <3 by The Library Code
Description
Add the DOI metadata field to the publication page.
Instructions for Reviewers
Please see any publication page with a metadata property 'dc.identifier.doi' and verify that it is listed on the left under authors and publishers.
List of changes in this PR:
The urlRegex attribute is used to interpret ^https?:// dois as a link.
Checklist
This checklist provides a reminder of what we are going to look for when reviewing your PR. You do not need to complete this checklist prior creating your PR (draft PRs are always welcome).
However, reviewers may request that you complete any actions in this list if you have not done so. If you are unsure about an item in the checklist, don't hesitate to ask. We're here to help!
mainbranch of code (unless it is a backport or is fixing an issue specific to an older branch).npm run lintMy PR doesn't introduce circular dependencies (verified vianpm run check-circ-deps)My PR includes TypeDoc comments for all new (or modified) public methods and classes. It also includes TypeDoc for large or complex private methods.If my PR includes new libraries/dependencies (inpackage.json), I've made sure their licenses align with the DSpace BSD License based on the Licensing of Contributions documentation.If my PR includes new features or configurations, I've provided basic technical documentation in the PR itself.